package javase.reflection;

import com.sun.scenario.effect.impl.sw.sse.SSEBlend_SRC_OUTPeer;

/**
 * @author LiShaowen
 * @date 2020/9/6 21:46
 */
public class Test {
    public static void main(String[] args) {
        A a = new A();
        System.out.println(A.m);
        System.out.println(B.m);

    }
}
class A{
    static int m =100;

    static {
        System.out.println("A类静态变量代码块初始化");
        m = 1000;
    }

    public A(){
        System.out.println("A类的无参构造");
    }
}
class B extends A{

}
